projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d12b33
)
(comint-mode): Add font-lock-defontify to change-major-mode-hook.
author
Richard M. Stallman
<rms@gnu.org>
Tue, 10 Sep 2002 16:44:58 +0000
(16:44 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Tue, 10 Sep 2002 16:44:58 +0000
(16:44 +0000)
lisp/comint.el
patch
|
blob
|
history
diff --git
a/lisp/comint.el
b/lisp/comint.el
index 8eb7fa776ef0d8d2ac265eab508cb7da2783424e..af5033b41d306861a98eb69a979372be8b9b6835 100644
(file)
--- a/
lisp/comint.el
+++ b/
lisp/comint.el
@@
-507,6
+507,7
@@
Entry to this mode runs the hooks on `comint-mode-hook'."
(make-local-variable 'comint-file-name-chars)
(make-local-variable 'comint-file-name-quote-list)
(set (make-local-variable 'comint-accum-marker) (make-marker))
+ (add-hook 'change-major-mode-hook 'font-lock-defontify nil t)
;; This behavior is not useful in comint buffers, and is annoying
(set (make-local-variable 'next-line-add-newlines) nil))